package com.quectel.emp.vo.deptperson.login;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 账号密码登录
 *
 * @author: caolu
 * @email: louis.cao@quectel.com
 * @date: 2022-05-17 11:10:00
 */
@Data
@Schema
public class AppVerCodeLoginVo {


    @Schema(description = "小区编码")
    @NotNull(message = "小区编码不能为空")
    private String villageCode;

    @Schema(description = "账号")
    @NotNull(message = "账号不能为空")
    private String mobile;

    @Schema(description = "验证码")
    @NotNull(message = "验证码不能为空")
    private String verCode;
    /**
     * 登录类型 1JSAPI 2安卓 3ios
     */
    @Schema(description = "登录终端 1JSAPI 2安卓 3ios")
    @NotNull(message = "登录终端不能为空")
    private Byte loginType;

    @Schema(description = "第三方推送id jsapi类型的可以忽略")
    private String pushId;
}
